#!/bin/sh

for i in Precision Normal Simple Quantile
do
	./TestHistogram -type $i -savefile foo
	if test -f TestHistogram.pcv
	then
		mv TestHistogram.pcv $i.save.pcv
	fi
	./TestHistogram -type $i -loadfile foo
	if test -f TestHistogram.pcv
	then
		mv TestHistogram.pcv $i.load.pcv
	fi
	rm -f foo
done
